package com.mall.app.service.impl;

import com.mall.app.bean.TbUser;
import com.mall.app.dao.TbUserMapper;
import com.mall.app.service.TbUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 商家表 服务实现类
 * </p>
 *
 * @author LeeSin
 * @since 2020-07-10
 */
@Service
@Transactional
public class TbUserServiceImpl extends ServiceImpl<TbUserMapper, TbUser> implements TbUserService {

	@Autowired
	private TbUserMapper userMapper;
	
	
	@Override
	public TbUser login(String username) {
		return userMapper.login(username);
	}

}
